﻿using XUCore.WeChat.Apis;

namespace XUCore.WeChat.Enterprise.Apis.Suite
{
    public class AuthInfoApiResult : ApiResultBase
    {
        /// <summary>
        /// 企业微信永久授权码,最长为512字节
        /// </summary>
        public string permanent_code { get; set; }
        /// <summary>
        /// 代理服务商企业信息。应用被代理后才有该信息
        /// </summary>
        public Dealer_corp_info dealer_corp_info { get; set; }

        /// <summary>
        /// 授权方企业信息
        /// </summary>
        public Auth_corp_info auth_corp_info { get; set; }

        /// <summary>
        /// 授权信息。如果是通讯录应用，且没开启实体应用，是没有该项的。通讯录应用拥有企业通讯录的全部信息读写权限
        /// </summary>
        public Auth_info auth_info { get; set; }
    }
}